package demo1;

import demo1.dog;

public class Test04 {
    public static void main(String[] args) {
        dog d=new dog();
        d.name="旺财";
        d.age=1;
        d.color="黑";
        System.out.println(d.name);
        System.out.println(d.age);
        System.out.println(d.color);
        d.action();
    }
}
